<?php

namespace common\models\business;

use Yii;

/**
 * This is the model class for table "business_customer_fieldvalue".
 *
 * @property string $id
 * @property integer $contractid
 * @property integer $fieldid
 * @property string $value
 */
class BusinessCustomerFieldvalue extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'business_customer_fieldvalue';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['customerid', 'fieldid'], 'integer'],
            [['value'], 'string', 'max' => 255],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'customerid' => '客户id',
            'fieldid' => '字段id',
            'value' => '值',
        ];
    }
}
